//
//  CardbagCell.swift
//  CardBag
//
//  Created by hl on 2019/5/16.
//  Copyright © 2019 hlznj. All rights reserved.
//

import UIKit

class CardbagCell: UICollectionViewCell {

    var label = UILabel.init()


    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.backgroundColor = MainColor

        self.label.textAlignment = NSTextAlignment.center
        self.addSubview(self.label)

        self.label.snp.makeConstraints { (make) in
            make.edges.equalTo(0)
        }
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
